home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 June: Reference Library / Dev.CD Jun 95 / Dev.CD Jun 95.toast / What's New? / New System Software Extensions / QuickDraw 3D ß / Programming / Convert Sources from Pre Beta / Canon Script a3 -> b1 / RunCanonScript copy < prev   
Encoding:
Text File  |  1995-03-11  |  552 b   |  14 lines  |  [TEXT/MPS ]

  1. Set Sources "DizzeyLand:QuickDraw 3d ƒ:Applications:Modeller ƒ:"            # set the variable Sources to the path of the sources.  (Ex.  Set Sources "Hard Disk:Sources:")
  2. Set    NewRoutineNames    "DizzeyLand:NewQuickDraw3DNames.dict"    # set the variable to be the full path of the dictionary file     (Ex.  Set NewRoutineNames "Hard Disk:NewRoutineNames.dict")
  3. Set Exit 0
  4. For i in `Files -f -r "{Sources}"≈`
  5.     If `Exists -f "{i}"`
  6.         echo "{i}"
  7.         Canon -s "{NewRoutineNames}" "{i}" > "{i}.can"
  8. #        Duplicate -y -r "{i}" "{i}.can"
  9.         Rename -y "{i}.can" "{i}"
  10.     End
  11. End
  12.  
  13.  
  14.